package edu.mse.camel.client.posterboard.ui.editor;

public class CamelModelUpdateSerialNumber {
	private int serialNumber = 0;
	
	public CamelModelUpdateSerialNumber () {
		
	}

	public synchronized int getSerialNumberAndThenInc() {
		int temp = serialNumber;
		serialNumber++;
		return temp;
	}

	public synchronized int getSerialNumber() {
		return serialNumber;
	}
}
